/*
 * ProtocolData.h
 *
 *  Created on: Sep 7, 2017
 *      Author: guoxs
 */

#ifndef _UART_PROTOCOL_DATA_H_
#define _UART_PROTOCOL_DATA_H_

#include <string>
#include "CommDef.h"

/******************** CmdID ***********************/
#define CMDID_POWER							0x0
/**************************************************/

/******************** 错误码 Error code ***********************/
#define ERROR_CODE_CMDID			1
/**************************************************/

typedef struct {
	BYTE BAI;
	BYTE SHI;
	BYTE GE;
	BYTE D_SHI;
	BYTE D_GE;
	BYTE KGorLB;
	BYTE QuPi;
	BYTE BAT_level;
	BYTE BatCharge;
	BYTE BiaoDing;
	BYTE SaveDeal;
	BYTE SaveState;
	BYTE Hold;
} SProtocolData;

#endif /* _UART_PROTOCOL_DATA_H_ */
